package com.chanyachting.emall.form;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

import com.chanyachting.emall.domain.Channel;
import com.chanyachting.emall.domain.Member;
import com.chanyachting.emall.domain.Newsactivity;

public class NewsActivityForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	// primary key
	private java.lang.Integer id;

	// fields
	private java.lang.String refreshDate;
	private java.lang.String authorSum;
	private java.lang.Integer channelId;
	private java.lang.String title;
	private java.lang.Integer subChannelId;
	private java.lang.Integer memberId;
	private java.lang.String context;
	private java.lang.String status;
	private java.lang.String createDate;
	private java.lang.String imgUrl;
	private java.lang.String author;
	
	private java.lang.String pageType;
	private int pageSize;
	private int currentPage;
	private int pageCount;
	private Newsactivity news;
	private List<Member> mbList = new ArrayList<Member>();
	private java.lang.String subChannelName;
	private Map<String,Newsactivity> channelList = new TreeMap<String,Newsactivity>();
	private int recordCnt;
	private java.lang.String linkStr;
	private java.lang.String channelName;
	private java.lang.String selectionStr;
	private String month;
	private String time;
	private int readNums;
	private int monthIndex;
	private int timeIndex;
	private int readNumsIndex;
	private String keyword;
	private String newsType;
	private String actionName;
	
	public String getActionName() {
		return actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	public String getNewsType() {
		return newsType;
	}

	public void setNewsType(String newsType) {
		this.newsType = newsType;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public int getMonthIndex() {
		return monthIndex;
	}

	public void setMonthIndex(int monthIndex) {
		this.monthIndex = monthIndex;
	}

	public int getTimeIndex() {
		return timeIndex;
	}

	public void setTimeIndex(int timeIndex) {
		this.timeIndex = timeIndex;
	}

	public int getReadNumsIndex() {
		return readNumsIndex;
	}

	public void setReadNumsIndex(int readNumsIndex) {
		this.readNumsIndex = readNumsIndex;
	}
	
	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public int getReadNums() {
		return readNums;
	}

	public void setReadNums(int readNums) {
		this.readNums = readNums;
	}

	public java.lang.String getSelectionStr() {
		return selectionStr;
	}

	public void setSelectionStr(java.lang.String selectionStr) {
		this.selectionStr = selectionStr;
	}

	public java.lang.String getChannelName() {
		return channelName;
	}

	public void setChannelName(java.lang.String channelName) {
		this.channelName = channelName;
	}

	public java.lang.String getLinkStr() {
		return linkStr;
	}

	public void setLinkStr(java.lang.String linkStr) {
		this.linkStr = linkStr;
	}

	public int getRecordCnt() {
		return recordCnt;
	}

	public void setRecordCnt(int recordCnt) {
		this.recordCnt = recordCnt;
	}

	public Map<String,Newsactivity> getChannelList() {
		return channelList;
	}

	public void setChannelList(Map<String,Newsactivity> channelList) {
		this.channelList = channelList;
	}

	public List<Channel> getSubChannelList() {
		return subChannelList;
	}

	public void setSubChannelList(List<Channel> subChannelList) {
		this.subChannelList = subChannelList;
	}
	private List<Channel> subChannelList = new ArrayList<Channel>();
	
	public java.lang.String getSubChannelName() {
		return subChannelName;
	}

	public void setSubChannelName(java.lang.String subChannelName) {
		this.subChannelName = subChannelName;
	}

	public List<Member> getMbList() {
		return mbList;
	}

	public void setMbList(List<Member> mbList) {
		this.mbList = mbList;
	}

	public Newsactivity getNews() {
		return news;
	}

	public void setNews(Newsactivity news) {
		this.news = news;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public java.lang.String getPageType() {
		return pageType;
	}

	public void setPageType(java.lang.String pageType) {
		this.pageType = pageType;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	private List list;

	
	private FormFile file;  

	public FormFile getFile() {
		return file;
	}

	public void setFile(FormFile file) {
		this.file = file;
	}

	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}

	public java.lang.Integer getId() {
		return id;
	}
	public void setId(java.lang.Integer id) {
		this.id = id;
	}
	public java.lang.String getRefreshDate() {
		return refreshDate;
	}
	public void setRefreshDate(java.lang.String refreshDate) {
		this.refreshDate = refreshDate;
	}
	public java.lang.String getAuthorSum() {
		return authorSum;
	}
	public void setAuthorSum(java.lang.String authorSum) {
		this.authorSum = authorSum;
	}
	public java.lang.Integer getChannelId() {
		return channelId;
	}
	public void setChannelId(java.lang.Integer channelId) {
		this.channelId = channelId;
	}
	public java.lang.String getTitle() {
		return title;
	}
	public void setTitle(java.lang.String title) {
		this.title = title;
	}
	public java.lang.Integer getSubChannelId() {
		return subChannelId;
	}
	public void setSubChannelId(java.lang.Integer subChannelId) {
		this.subChannelId = subChannelId;
	}
	public java.lang.Integer getMemberId() {
		return memberId;
	}
	public void setMemberId(java.lang.Integer memberId) {
		this.memberId = memberId;
	}
	public java.lang.String getContext() {
		return context;
	}
	public void setContext(java.lang.String context) {
		this.context = context;
	}
	public java.lang.String getStatus() {
		return status;
	}
	public void setStatus(java.lang.String status) {
		this.status = status;
	}
	public java.lang.String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(java.lang.String createDate) {
		this.createDate = createDate;
	}
	public java.lang.String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(java.lang.String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public java.lang.String getAuthor() {
		return author;
	}
	public void setAuthor(java.lang.String author) {
		this.author = author;
	}


}
